#ifndef Config_h
#define Config_h

#include "Rules.h"
#include "Zone.h"
#include "RuleTokens.h"


class Config_T
{
public:
	// flag for server banner retrieval
	bool isBannerDone;

	// HighPriority Key
	RuleFlag_T isHighPriorityRule;

	// RulesFile Key
	char szRulesFile[MAX_PATH];
	Rules_T * rulesPtr;

	// ZonesToExclude, ZonesToInclude Key/Sections
	RuleTokens_T zonesRule;
	List_T<Zone_T> zoneList;

	CriticalSection_T cs;
	HINSTANCE hInstance;

public:
	Config_T(const char * szDefaultLogFilesDir, const char * szConfigFile);
	~Config_T();
};

#endif //Config_h